<?xml version="1.0" encoding="UTF-8" ?>

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">

<p:ajaxStatus onstart="statusDialog.show();"
	onsuccess="statusDialog.hide();" />

<p:dialog modal="true" widgetVar="statusDialog" header="Aguarde"
	draggable="false" resizable="false" closable="false">
	<p:graphicImage value="/imagens/ajaxLoadingBar.gif" />
</p:dialog>

</html>